﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 卡片财务信息AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class AssetAccountInforAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public AssetAccountInforAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					UsedLifeYearByCreated=0m; 
		
					TaxByCreated=0m; 
					SalvageTypeByCreated= 0; 
							PrevBusiness= 0; 
				
					CurrentBusiness= 0; 
				
		
					CostWithoutTaxByCreated=0m; 
					FeeByCreated=0m; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.UseStateByCreated != null) 
			{
				this.UseStateByCreated.DoSerializeKeyList(dict);
			}
	        	        			if (this.UOMByCreated != null) 
			{
				this.UOMByCreated.DoSerializeKeyList(dict);
			}
	        	        	        	        			if (this.DpBook != null) 
			{
				this.DpBook.DoSerializeKeyList(dict);
			}
	        	        			if (this.Currency != null) 
			{
				this.Currency.DoSerializeKeyList(dict);
			}
	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public AssetAccountInforAITDTOData(  ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData useStateByCreated  , System.Decimal usedLifeYearByCreated  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData uOMByCreated  , System.Decimal taxByCreated  , System.Int32 salvageTypeByCreated  , System.Int32 prevBusiness  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData dpBook  , System.Int32 currentBusiness  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData currency  , System.String createDate  , System.Decimal costWithoutTaxByCreated  , System.Decimal feeByCreated  )
		{
			initData();
			this.UseStateByCreated = useStateByCreated;
			this.UsedLifeYearByCreated = usedLifeYearByCreated;
			this.UOMByCreated = uOMByCreated;
			this.TaxByCreated = taxByCreated;
			this.SalvageTypeByCreated = salvageTypeByCreated;
			this.PrevBusiness = prevBusiness;
			this.DpBook = dpBook;
			this.CurrentBusiness = currentBusiness;
			this.Currency = currency;
			this.CreateDate = createDate;
			this.CostWithoutTaxByCreated = costWithoutTaxByCreated;
			this.FeeByCreated = feeByCreated;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 建卡时使用状况
		/// 卡片财务信息AITDTO.Misc.建卡时使用状况
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_useStateByCreated ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UseStateByCreated
		{
			get	
			{	
				return m_useStateByCreated ;
			}
			set	
			{	
				m_useStateByCreated = value ;	
			}
		}
			
		

		/// <summary>
		/// 建卡时使用年限
		/// 卡片财务信息AITDTO.Misc.建卡时使用年限
		/// </summary>
		private System.Decimal m_usedLifeYearByCreated ;
		[DataMember(IsRequired=false)]
		public System.Decimal UsedLifeYearByCreated
		{
			get	
			{	
				return m_usedLifeYearByCreated ;
			}
			set	
			{	
				m_usedLifeYearByCreated = value ;	
			}
		}
			
		

		/// <summary>
		/// 单位
		/// 卡片财务信息AITDTO.Misc.单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_uOMByCreated ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UOMByCreated
		{
			get	
			{	
				return m_uOMByCreated ;
			}
			set	
			{	
				m_uOMByCreated = value ;	
			}
		}
			
		

		/// <summary>
		/// 建卡时税金
		/// 卡片财务信息AITDTO.Misc.建卡时税金
		/// </summary>
		private System.Decimal m_taxByCreated ;
		[DataMember(IsRequired=false)]
		public System.Decimal TaxByCreated
		{
			get	
			{	
				return m_taxByCreated ;
			}
			set	
			{	
				m_taxByCreated = value ;	
			}
		}
			
		

		/// <summary>
		/// 建卡时残值类型
		/// 卡片财务信息AITDTO.Misc.建卡时残值类型
		/// </summary>
		private System.Int32 m_salvageTypeByCreated ;
		[DataMember(IsRequired=false)]
		public System.Int32 SalvageTypeByCreated
		{
			get	
			{	
				return m_salvageTypeByCreated ;
			}
			set	
			{	
				m_salvageTypeByCreated = value ;	
			}
		}
			
		

		/// <summary>
		/// 上次业务
		/// 卡片财务信息AITDTO.Misc.上次业务
		/// </summary>
		private System.Int32 m_prevBusiness ;
		[DataMember(IsRequired=false)]
		public System.Int32 PrevBusiness
		{
			get	
			{	
				return m_prevBusiness ;
			}
			set	
			{	
				m_prevBusiness = value ;	
			}
		}
			
		

		/// <summary>
		/// 折旧账簿
		/// 卡片财务信息AITDTO.Misc.折旧账簿
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_dpBook ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData DpBook
		{
			get	
			{	
				return m_dpBook ;
			}
			set	
			{	
				m_dpBook = value ;	
			}
		}
			
		

		/// <summary>
		/// 当前业务
		/// 卡片财务信息AITDTO.Misc.当前业务
		/// </summary>
		private System.Int32 m_currentBusiness ;
		[DataMember(IsRequired=false)]
		public System.Int32 CurrentBusiness
		{
			get	
			{	
				return m_currentBusiness ;
			}
			set	
			{	
				m_currentBusiness = value ;	
			}
		}
			
		

		/// <summary>
		/// 币种
		/// 卡片财务信息AITDTO.Misc.币种
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_currency ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Currency
		{
			get	
			{	
				return m_currency ;
			}
			set	
			{	
				m_currency = value ;	
			}
		}
			
		

		/// <summary>
		/// 建账日期
		/// 卡片财务信息AITDTO.Misc.建账日期
		/// </summary>
		private System.String m_createDate ;
		[DataMember(IsRequired=false)]
		public System.String CreateDate
		{
			get	
			{	
				return m_createDate ;
			}
			set	
			{	
				m_createDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 建卡时未税成本
		/// 卡片财务信息AITDTO.Misc.建卡时未税成本
		/// </summary>
		private System.Decimal m_costWithoutTaxByCreated ;
		[DataMember(IsRequired=false)]
		public System.Decimal CostWithoutTaxByCreated
		{
			get	
			{	
				return m_costWithoutTaxByCreated ;
			}
			set	
			{	
				m_costWithoutTaxByCreated = value ;	
			}
		}
			
		

		/// <summary>
		/// 建卡时费用
		/// 卡片财务信息AITDTO.Misc.建卡时费用
		/// </summary>
		private System.Decimal m_feeByCreated ;
		[DataMember(IsRequired=false)]
		public System.Decimal FeeByCreated
		{
			get	
			{	
				return m_feeByCreated ;
			}
			set	
			{	
				m_feeByCreated = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																								
		#endregion 
	} 	
}
